package com.my.activiti.service.impl;

import com.my.activiti.service.ActivitiService;
import org.activiti.bpmn.model.BpmnModel;
import org.activiti.engine.*;
import org.activiti.engine.repository.Deployment;
import org.junit.Assert;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 80002023 on 2016/5/10.
 */
@Service
public class ActivitiServiceImpl implements ActivitiService {

    @Autowired
    private IdentityService identityService;
    @Autowired
    private RepositoryService formService;
    @Autowired
    private RepositoryService repositoryService;
    @Autowired
    private RuntimeService runtimeService;
    @Autowired
    private TaskService taskService;
    @Autowired
    private HistoryService historyService;
    @Autowired
    private ManagementService managementService;

    public void deploy(String fileName){

        Assert.assertNotNull(fileName);
        //Deployment deployment=repositoryService.createDeployment().addInputStream("",is);

    }
}
